import layout from '@/layout'

export default {
  path: '/sku',
  name: 'sku',
  redirect: '/sku/sku-class',
  component: layout,
  meta: {
    title: '商品管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '/sku/sku-class',
      name: 'sku-class',
      component: () => import('../../views/commodity/CommodityTypes.vue'),
      meta: {
        title: '商品类型'
      }
    }, {
      path: '/sku/sku',
      name: 'sku',
      component: () => import('../../views/commodity/CommodityManagement.vue'),
      meta: {
        title: '商品管理'
      }
    }
  ]
}
